import App from '../App'

export default [
    {
        path: '/dataBank',
        component: App,
        children: [
            {
                path: '',
                component: r => require.ensure([], () => r(require('../page/home')), 'home')
            },
            {
                path: 'results',
                component: r => require.ensure([], () => r(require('../page/results')), 'results')
            },
            {
                path: 'systems',
                component: r => require.ensure([], () => r(require('../page/systems')), 'systems')
            },
            {
                path: 'scoreboard',
                component: r => require.ensure([], () => r(require('../page/scoreboard')), 'scoreboard')
            },
            {
                path: 'ouguanResults',
                component: r => require.ensure([], () => r(require('../page/ouguanResults')), 'ouguanResults')
            },
            {
                path: 'ouguanSystems',
                component: r => require.ensure([], () => r(require('../page/ouguanSystems')), 'ouguanSystems')
            },
        ]
    },
    {
        path: '/dataAnalysis',
        component: App,
        children: [
            {
                path: '',
                component: r => require.ensure([], () => r(require('../page/dataAnalysis')), 'dataAnalysis')
            },
        ]
    },
]